package com.frame.database.operate;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.frame.database.JdataBean;
import com.frame.database.PageResult;
import com.frame.database.util.ConditionMap;

/**
 * @Title: 系统
 * @Description:
 * @Copyright: Copyright (c) 2015
 * @Company:
 * @author 王海锋
 * @CreatedTime:2015-6-25 下午02:35:00
 * @version 1.0
 */

public interface JdbcDao {
    public Jsession getSession();
    public List<JdataBean> query(ConditionMap paramMap) throws Exception;
    public PageResult queryPage(ConditionMap paramMap,int pageSize,int pageNo) throws Exception;
    public void save(Map dataMap) throws Exception;
    public void update(Map updateMap,Map keyMap) throws Exception;
    public void del(Serializable keyid) throws Exception;
    public JdataBean getBean(Serializable keyid) throws Exception;
    public String getTbName();
    public String getKeyCol();
}
